package cn.hou.java.designpattern._04builder;

import java.util.ArrayList;
import java.util.List;

//平方建造
public class PingFangBuilder implements HouseBuilder {
	
	House house =new House();
	
	@Override
	public void buildDoor() {
		List<String> list=new ArrayList<String>();
		list.add("平方的大门");
		list.add("平方的小门");
		house.setDoor(list);
	}
	@Override
	public void buildWall() {
		house.setWall("平方的墙");
	}
	@Override
	public void buildFloor() {
		house.setFloor("平方的地板");
	}
	@Override
	public House getHouse() {
		return house;
	}

}
